f02f343a169651d3103c30d256c7180e217eb9f8,plugin_tooling/src-util/melnorme/utilbox/concurrency/Futures_Tests.java,AbstractFutureTest,submitAndAwaitResult,#CallableX#,87

Before Change


	protected <EXC extends Exception> Object submitAndAwaitResult(CallableX<Object, RuntimeException> callable)
			throws OperationCancellation, InterruptedException, EXC {
		IRunnableFuture2<Object> future = initFuture(callable);
		ForkJoinPool.commonPool().execute(future);
		return future.awaitResult();
	}
	
	protected void testCancellation() {

After Change


		protected <EXC extends Exception> FUTURE submitAndAwaitResult(CallableX<Object, RuntimeException> callable)
				throws OperationCancellation, InterruptedException, EXC {
			FUTURE future = submitToExecutor(callable);
			future.awaitResult();
			return future;
		}